var name = "lwt";
function getname(name) {
  console.log(name);
}

setTimeout(() => {
  console.log(exports.name);
}, 300);
function someTime() {
  let s = Date.now();
  while (true) {
    if (Date.now() - s > 2000) {
      console.log("time");
      break;
    }
  }
}
someTime()
exports.name = name;
exports.getname = getname;
// { name ,getname }
